InvalidChatSessionIdException
| Kind of class: | class |
|---|---|
| Inherits from: | Error |
| Author: | The gotoAndPlay() Team http://www.smartfoxserver.com http://www.gotoandplay.it |
| Classpath: | com.smartfoxserver.redbox.exceptions.InvalidChatSessionIdException |
| File last modified: | Tuesday, 24 June 2008, 16:41:21 |
A RedBox exception.
Summary
Constructor
- InvalidChatSessionIdException (message:String)
- Thrown when an invalid chat session id is passed to an com.smartfoxserver.redbox.AVChatManager method.
Constructor
InvalidChatSessionIdException
function InvalidChatSessionIdException (
message:String)
Thrown when an invalid chat session id is passed to an com.smartfoxserver.redbox.AVChatManager method.
This exception is raised if the passed session id is unknown or if the chat session' status doesn't match the expected one.
This exception is raised if the passed session id is unknown or if the chat session' status doesn't match the expected one.
Parameters:
message:
the error message.
Example:
- The following example shows how to handle the "InvalidChatSessionIdException" exception.
try { avChatMan.refuseChatRequest(wrongSessionId) } catch (err:InvalidChatSessionIdException) { trace (err.message) }